#ifndef IFTHEN_HPP
#define IFTHEN_HPP

#include "Instruction.hpp"

class IfThen :
    virtual public Instruction
{
    private:
        Expression* condition;
        Instruction* codeExec;

    public:
        IfThen(Expression* _condition, Instruction* _codeExec);
        virtual ~IfThen();
        virtual void execute();
        virtual void display(const unsigned int shift=0) const;
};

#endif
